/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.jacusoft.annotation.jdbc;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *
 * @author bc548
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DatabaseConnection {
  
  public static enum Sgbd { 
    POSTGRESQL("PostgreSql"), 
    SQLITE("SQLite");
  
    private String valor=null;
    
    private Sgbd(String valor){
      this.valor=valor;
    }
    
    public String getValor(){
      return this.valor;
    }
  
  };
  
  public abstract String name();
  public abstract Sgbd sgbd();
  
  
}
